import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Home from '@/views/Home'
import Details from '@/views/Details'
import History from '@/views/History'
import Certificate from '@/views/Certificate'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    }, {
      path: '/details',
      name: 'Details',
      component: Details
    }, {
      path: '/history',
      name: 'History',
      component: History
    }, {
      path: '/certificate',
      name: 'Certificate',
      component: Certificate
    }
  ]
})
